<div ng-controller="PartnerCtrl" ng-init="addAction()" class="sui-form form-horizontal">
    <form name="partnerForm" novalidate ng-submit="partnerAdd()">
        <ul class="sui-breadcrumb">
            <li><a href="#/partner/list">{{'partner' | translate}}{{'List'| translate}}</a></li>
            <li class="active">{{partner.partner_id?'edit':'add_new' | translate}}</li>
        </ul>
        <div class="control-group" ng-if="partner.partner_id">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'partner_id' | translate}}:</label>
            <div class="controls">
                {{partner.partner_id}}
            </div>
        </div>
         <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'usr' | translate}}:</label>
            <div class="controls">
                <input type="text" name="usr" ng-model="partner.user_name" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'pwd' | translate}}:</label>
            <div class="controls">
                <input type="password" name="password" ng-model="partner.password" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'password_confirm' | translate}}:</label>
            <div class="controls">
                <input type="password" name="password_confirm" ng-model="partner.password_confirm" class="
                input-xlarge">
            </div>
        </div>
        <!--  <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'Name' | translate}}:</label>
            <div class="controls">
                <input type="text" name="name" ng-model="partner.name" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'Image' | translate}}:</label>
            <div class="controls">
                <input type="text" name="logo" ng-model="partner.logo" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'grade_id' | translate}}:</label>
            <div class="controls">
                <input type="text" name="grade_id" ng-model="partner.grade_id" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'product_line' | translate}}:</label>
            <div class="controls">
                <input type="text"  name="product_line" ng-model="partner.product_line" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"> {{'trade_type' | translate}}:</label>
            <div class="controls">
                <trade-type ng-model="partner.trade_type">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'auth_payway' | translate}}:</label>
            <div class="controls">
                <input type="text"  name="auth_payway" ng-model="partner.auth_payway" class="
                input-xlarge">
            </div>
        </div>
         <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'tel' | translate}}:</label>
            <div class="controls">
                <input type="tel" name="tel" ng-model="partner.tel" class="
                input-xlarge">
            </div>
        </div> -->
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'phone' | translate}}:</label>
            <div class="controls">
                <input type="tel"  name="phone" ng-model="partner.phone" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'email' | translate}}:</label>
            <div class="controls">
                <input type="email"  name="email" ng-model="partner.email" class="
                input-xlarge">
            </div>
        </div>
   <!--      <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'address' | translate}}:</label>
            <div class="controls">
                <input type="text" name="address" ng-model="partner.address" class="
                input-xlarge">
            </div>
        </div> -->
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!partnerForm.$valid">
                    <span>{{'save'|translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>
